for a in range(0, 10):
    b = 12 - a
    if 0 <= b <= 9:
        print(f"a={a}, b={b}")